<Project>

  <PropertyGroup>
    <OutDirName>$(MSBuildProjectName)$([System.IO.Path]::DirectorySeparatorChar)stub</OutDirName>
  </PropertyGroup>

  <Import Project="..\Directory.Build.props" />

  <PropertyGroup>
    <TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
    <!-- Opt out of some features which are on by default. -->
    <EnableLibraryImportGenerator>false</EnableLibraryImportGenerator>
    <ApiCompatValidateAssemblies>false</ApiCompatValidateAssemblies>
    <ILLinkTrimAssembly>false</ILLinkTrimAssembly>
    <AddOSPlatformAttributes>false</AddOSPlatformAttributes>
    <GenerateDocumentationFile>false</GenerateDocumentationFile>
    <HasMatchingContract>false</HasMatchingContract>
    <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
    <EnableBinPlacing>false</EnableBinPlacing>
    <DebugType>none</DebugType>
    <DebugSymbols>false</DebugSymbols>
  </PropertyGroup>

  <ItemGroup>
    <AssemblyAttribute Include="System.Runtime.CompilerServices.ReferenceAssemblyAttribute" />
    <AssemblyAttribute Include="System.Reflection.AssemblyFlags">
      <_Parameter1>(System.Reflection.AssemblyNameFlags)0x70</_Parameter1>
      <_Parameter1_IsLiteral>true</_Parameter1_IsLiteral>
    </AssemblyAttribute>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\src\System.Runtime.csproj" PrivateAssets="all" Condition="'$(DisableImplicitFrameworkReferences)' == 'true'" />
  </ItemGroup>

</Project>
